<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

        .bl{
            margin: 10px;
            border: 1px red solid;
            display: inline;  /***  元素 不允许设置宽高 */
            display: inline-block;  /***  元素 不允许设置宽高 */
            /* margin: 1000px;
            padding: 100px; */
            width: 100px;
            height: 300px;
        }

        /* div 独占一行            */
        /* span 一行显示多个      */
    </style>
</head>
<body>
    
    <div class="bl">abc </div>
    <div class="bl">abc </div>
    <div class="bl">abc </div>
    <div class="bl">abc </div>
    <div class="bl">abc </div>
    <div class="bl">abc </div>
    <div class="bl">abc </div>
    <div class="bl">abc </div>
    <div class="bl">abc </div>
    <div class="bl">abc </div>




    <!-- CTRL+D -->
    <span class="myspan">abc-span </span>
    <span class="myspan">abc-span </span>
    <span class="myspan">abc-span </span>
    <span class="myspan">abc-span </span>
    <span class="myspan">abc-span </span>
    <span class="myspan">abc-span </span>
    <span class="myspan">abc-span </span>
    <span class="myspan">abc-span </span>
    <span class="myspan">abc-span </span>
    <span class="myspan">abc-span </span>


</body>
</html>